package OOday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student LY=new Student("李洋",5,"山西","jsd2407","001");
        LY.say();
        Teacher LJ=new Teacher("刘界",21,"成都",16999.99);
        LJ.say();
        Doctor WKJ=new Doctor("王克晶",44,"北京","主治医师");
        WKJ.say();
    }
}
